3.50 \(\int \csc ^2(a+b x) \sin ^3(2 a+2 b x) \, dx\)

Optimal. Leaf size=13 \[ -\frac{2 \cos ^4(a+b x)}{b} \]

[Out]

(-2*Cos[a + b*x]^4)/b

________________________________________________________________________________________

Rubi [A]  time = 0.0414177, antiderivative size = 13, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.15, Rules used = {4288, 2565, 30} \[ -\frac{2 \cos ^4(a+b x)}{b} \]

Antiderivative was successfully verified.

[In]

Int[Csc[a + b*x]^2*Sin[2*a + 2*b*x]^3,x]

[Out]

(-2*Cos[a + b*x]^4)/b

Rule 4288

Int[((f_.)*sin[(a_.) + (b_.)*(x_)])^(n_.)*sin[(c_.) + (d_.)*(x_)]^(p_.), x_Symbol] :> Dist[2^p/f^p, Int[Cos[a
+ b*x]^p*(f*Sin[a + b*x])^(n + p), x], x] /; FreeQ[{a, b, c, d, f, n}, x] && EqQ[b*c - a*d, 0] && EqQ[d/b, 2]
&& IntegerQ[p]

Rule 2565

Int[(cos[(e_.) + (f_.)*(x_)]*(a_.))^(m_.)*sin[(e_.) + (f_.)*(x_)]^(n_.), x_Symbol] :> -Dist[(a*f)^(-1), Subst[
Int[x^m*(1 - x^2/a^2)^((n - 1)/2), x], x, a*Cos[e + f*x]], x] /; FreeQ[{a, e, f, m}, x] && IntegerQ[(n - 1)/2]
 &&  !(IntegerQ[(m - 1)/2] && GtQ[m, 0] && LeQ[m, n])

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rubi steps

\begin{align*} \int \csc ^2(a+b x) \sin ^3(2 a+2 b x) \, dx &=8 \int \cos ^3(a+b x) \sin (a+b x) \, dx\\ &=-\frac{8 \operatorname{Subst}\left (\int x^3 \, dx,x,\cos (a+b x)\right )}{b}\\ &=-\frac{2 \cos ^4(a+b x)}{b}\\ \end{align*}

Mathematica [A]  time = 0.0055429, size = 13, normalized size = 1. \[ -\frac{2 \cos ^4(a+b x)}{b} \]

Antiderivative was successfully verified.

[In]

Integrate[Csc[a + b*x]^2*Sin[2*a + 2*b*x]^3,x]

[Out]

(-2*Cos[a + b*x]^4)/b

________________________________________________________________________________________

Maple [A]  time = 0.02, size = 14, normalized size = 1.1 \begin{align*} -2\,{\frac{ \left ( \cos \left ( bx+a \right ) \right ) ^{4}}{b}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(csc(b*x+a)^2*sin(2*b*x+2*a)^3,x)

[Out]

-2*cos(b*x+a)^4/b

________________________________________________________________________________________

Maxima [A]  time = 1.09913, size = 35, normalized size = 2.69 \begin{align*} -\frac{\cos \left (4 \, b x + 4 \, a\right ) + 4 \, \cos \left (2 \, b x + 2 \, a\right )}{4 \, b} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(b*x+a)^2*sin(2*b*x+2*a)^3,x, algorithm="maxima")

[Out]

-1/4*(cos(4*b*x + 4*a) + 4*cos(2*b*x + 2*a))/b

________________________________________________________________________________________

Fricas [A]  time = 0.461666, size = 28, normalized size = 2.15 \begin{align*} -\frac{2 \, \cos \left (b x + a\right )^{4}}{b} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(b*x+a)^2*sin(2*b*x+2*a)^3,x, algorithm="fricas")

[Out]

-2*cos(b*x + a)^4/b

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(b*x+a)**2*sin(2*b*x+2*a)**3,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [B]  time = 1.33947, size = 93, normalized size = 7.15 \begin{align*} -\frac{16 \,{\left (\frac{\cos \left (b x + a\right ) - 1}{\cos \left (b x + a\right ) + 1} + \frac{{\left (\cos \left (b x + a\right ) - 1\right )}^{3}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{3}}\right )}}{b{\left (\frac{\cos \left (b x + a\right ) - 1}{\cos \left (b x + a\right ) + 1} - 1\right )}^{4}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(b*x+a)^2*sin(2*b*x+2*a)^3,x, algorithm="giac")

[Out]

-16*((cos(b*x + a) - 1)/(cos(b*x + a) + 1) + (cos(b*x + a) - 1)^3/(cos(b*x + a) + 1)^3)/(b*((cos(b*x + a) - 1)
/(cos(b*x + a) + 1) - 1)^4)